<!DOCTYPE html>
<html>
    <head>
        <script src="vue.js"></script>
    </head>
    <body>
        <div id="app">
            <div v-Show="isShow" style="background-color: #ccc;">v-Show</div>
            <button @click="isShow = !isShow">显示/隐藏</button>
        </div>
        <script>
            var vm = new Vue({
                el:'#app',
                data:{
                    isShow:true
                }
            });
        </script>
    </body>
</html>